//
//  PullToReloadView.h
//  SocialEngine
//
//  Created by Nguyen Ba Tan on 5/24/13.
//  Copyright (c) 2013 Home. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "PullToReloadDelegate.h"

typedef enum {
	RefreshPulling = 0,
	RefreshNormal,
	RefreshLoading,
} RefreshState;

@interface PullToReloadView : UIView {
    id <PullToReloadDelegate> _delegate;
}

@property (nonatomic, retain) id <PullToReloadDelegate> delegate;

- (void) refreshLastUpdatedDate;
- (void) disposeScrollViewDidScroll:(UIScrollView *) scrollView;
- (void) disposeScrollViewDidEndDragging:(UIScrollView * )scrollView;
- (void) actionScrollViewDidFinishedLoading:(UIScrollView *) scrollView;

@end
